package org.jeecg.modules.ynpst.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: ynpst_invoice_list
 * @Author: jeecg-boot
 * @Date: 2024-03-15
 * @Version: V1.0
 */
@Data
@TableName("ynpst_invoice_list")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ynpst_invoice_list对象", description = "ynpst_invoice_list")
public class YnpstInvoiceList implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 票税通类型(类型: 1:诺诺开票 2:a9开票 3:乐企开票; 4:数电)
     */
    @Excel(name = "票税通类型(类型: 1:诺诺开票 2:a9开票 3:乐企开票; 4:数电)", width = 15)
    @ApiModelProperty(value = "票税通类型(类型: 1:诺诺开票 2:a9开票 3:乐企开票; 4:数电)")
    private String ynpstType;
    /**
     * 开票类型：0：蓝字发票 1：红字发票
     */
    @Excel(name = "开票类型：0：蓝字发票 1：红字发票", width = 15)
    @ApiModelProperty(value = "开票类型：0：蓝字发票 1：红字发票")
    private String invoiceType;
    /**
     * 购买方名称
     */
    @Excel(name = "购买方名称", width = 15)
    @ApiModelProperty(value = "购买方名称")
    private String buyerName;
    /**
     * 购方税号
     */
    @Excel(name = "购方税号", width = 15)
    @ApiModelProperty(value = "购方税号")
    private String buyerTaxNum;
    /**
     * 购方电话
     */
    @Excel(name = "购方电话", width = 15)
    @ApiModelProperty(value = "购方电话")
    private String buyerTel;
    /**
     * 购方地址
     */
    @Excel(name = "购方地址", width = 15)
    @ApiModelProperty(value = "购方地址")
    private String buyerAddress;
    /**
     * 购方银行名称
     */
    @Excel(name = "购方银行名称", width = 15)
    @ApiModelProperty(value = "购方银行名称")
    private String buyerFinancialAccount;
    /**
     * 购方银行账号
     */
    @Excel(name = "购方银行账号", width = 15)
    @ApiModelProperty(value = "购方银行账号")
    private String buyerAccount;
    /**
     * 发票抬头
     */
    @Excel(name = "发票抬头", width = 15)
    @ApiModelProperty(value = "发票抬头")
    private String invoiceTitle;
    /**
     * 销方名称
     */
    @Excel(name = "销方名称", width = 15)
    @ApiModelProperty(value = "销方名称")
    private String salerName;
    /**
     * 销方税号
     */
    @Excel(name = "销方税号", width = 15)
    @ApiModelProperty(value = "销方税号")
    private String salerTaxNum;
    /**
     * 销方电话
     */
    @Excel(name = "销方电话", width = 15)
    @ApiModelProperty(value = "销方电话")
    private String salerTel;
    /**
     * 销方地址
     */
    @Excel(name = "销方地址", width = 15)
    @ApiModelProperty(value = "销方地址")
    private String salerAddress;
    /**
     * 销方银行名称
     */
    @Excel(name = "销方银行名称", width = 15)
    @ApiModelProperty(value = "销方银行名称")
    private String salerFinancialAccount;
    /**
     * 销方银行账号
     */
    @Excel(name = "销方银行账号", width = 15)
    @ApiModelProperty(value = "销方银行账号")
    private String salerAccount;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 收款人
     */
    @Excel(name = "收款人", width = 15)
    @ApiModelProperty(value = "收款人")
    private String checker;
    /**
     * 审核员
     */
    @Excel(name = "审核员", width = 15)
    @ApiModelProperty(value = "审核员")
    private String payee;
    /**
     * 开票员
     */
    @Excel(name = "开票员", width = 15)
    @ApiModelProperty(value = "开票员")
    private String clerk;
    /**
     * 价税合计
     */
    @Excel(name = "价税合计", width = 15)
    @ApiModelProperty(value = "价税合计")
    private String taxInclusiveTotalAmount;
    /**
     * 合计金额，含税标志不含税：必传；含税：不传
     */
    @Excel(name = "合计金额，含税标志不含税：必传；含税：不传", width = 15)
    @ApiModelProperty(value = "合计金额，含税标志不含税：必传；含税：不传")
    private String taxExclusiveTotalAmount;
    /**
     * 合计税额，含税标志不含税：必传；含税：不传
     */
    @Excel(name = "合计税额，含税标志不含税：必传；含税：不传", width = 15)
    @ApiModelProperty(value = "合计税额，含税标志不含税：必传；含税：不传")
    private String taxTotalAmount;
    /**
     * 发票号码
     */
    @Excel(name = "发票号码", width = 15)
    @ApiModelProperty(value = "发票号码")
    private String fphm;
    /**
     * 发票代码
     */
    @Excel(name = "发票代码", width = 15)
    @ApiModelProperty(value = "发票代码")
    private String fpdm;
    /**
     * 开票日期
     */
    @Excel(name = "开票日期", width = 15)
    @ApiModelProperty(value = "开票日期")
    private String kprq;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**
     * 是否删除(0-未删除；1-已删除)
     */
    @Excel(name = "是否删除(0-未删除；1-已删除)", width = 15)
    @ApiModelProperty(value = "是否删除(0-未删除；1-已删除)")
    private Integer del;
}
